Optimal. Leaf size=13 \[ -\tanh ^{-1}\left (\sqrt{-\sinh ^2(x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0607551, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {3176, 3205, 63, 206} \[ -\tanh ^{-1}\left (\sqrt{-\sinh ^2(x)}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3176
Rule 3205
Rule 63
Rule 206
Rubi steps
\begin{align*} \int \frac{\tanh (x)}{\sqrt{1-\cosh ^2(x)}} \, dx &=\int \frac{\tanh (x)}{\sqrt{-\sinh ^2(x)}} \, dx\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{\sqrt{-x} (1+x)} \, dx,x,\sinh ^2(x)\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\sqrt{-\sinh ^2(x)}\right )\\ &=-\tanh ^{-1}\left (\sqrt{-\sinh ^2(x)}\right )\\ \end{align*}
Mathematica [A] time = 0.0129443, size = 21, normalized size = 1.62 \[ \frac{2 \sinh (x) \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )}{\sqrt{-\sinh ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.075, size = 12, normalized size = 0.9 \begin{align*} -{\it Artanh} \left ({\frac{1}{\sqrt{- \left ( \sinh \left ( x \right ) \right ) ^{2}}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.617, size = 9, normalized size = 0.69 \begin{align*} -2 i \, \arctan \left (e^{\left (-x\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.21386, size = 4, normalized size = 0.31 \begin{align*} 0 \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tanh{\left (x \right )}}{\sqrt{- \left (\cosh{\left (x \right )} - 1\right ) \left (\cosh{\left (x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.31964, size = 51, normalized size = 3.92 \begin{align*} -\frac{\log \left (e^{x} + i\right )}{\mathrm{sgn}\left (-e^{\left (3 \, x\right )} + e^{x}\right )} + \frac{\log \left (e^{x} - i\right )}{\mathrm{sgn}\left (-e^{\left (3 \, x\right )} + e^{x}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]